﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TempLateList.aspx.cs" Inherits="Manage_Modle_Template_TempLateList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="../../css/Democss.css" rel="stylesheet" type="text/css" />
	<link href="../../css/mainFrom.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="../../js/common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="incontent">
         
      <div class="clear"></div>
      <div class="contable">
        <div class="con-ico">
          <div class="con-fl">当前位置：模板管理</div>
          <div class="con-fr">
            <img src="../../images/img-fontid.gif" title="本页技术支持编号" alt="" />010500
          </div>
        </div>
        <div class="clear"></div>
        <div class="hr"></div>
        <div class="imgadnfont">
          <div class="float">
            <img src="../../images/UserloginLog.gif" alt="" />
          </div>
          <div style="line-height: 20px;">
            可以通过此功能来管理前台的显示风格。
          </div>
        </div>
        <div class="clear"></div>
        <div id="UpdatePanel1">
          <table class="content-table" cellspacing="0" cellpadding="0" rules="rows" bordercolor="White" border="0" id="LogList" style="width:90%;">
            <tr>
              <td class="tdblodth" nowrap="nowrap" align="left">模板名称</td>
              <td class="tdblodth" nowrap="nowrap" align="left">技术支持</td>
              <td class="tdblodth" nowrap="nowrap" align="left">创建时间</td>
              <td class="tdblodth" nowrap="nowrap" align="left">最后修改</td>
              <td class="tdblodth" nowrap="nowrap" align="left">状态</td>
              <td class="tdblodthnone" nowrap="nowrap" align="center">操作选项</td>
            </tr>
            <asp:Repeater ID="repAdmin" runat="server" OnItemCommand="repAdmin_ItemCommand">
              <ItemTemplate>
                <tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)">
                <td nowrap="nowrap" align="left"><asp:Label ID="LabTempName" Visible="false" runat="server" Text='<%#Eval("Template_Name")%>'></asp:Label><a href="FileList.aspx?Path=<%# ValidTempFilePath(Eval("Template_Directory").ToString())%>&PermissionID=<%=strPermissionID %>"><%#Eval("Template_Name")%></a></td>
                  <td nowrap="nowrap" align="left"><%#Eval("Template_Author")%></td>
                  <td nowrap="nowrap" align="left"><%#Eval("Template_CreateTime")%></td>
                  <td nowrap="nowrap" align="left"><%#Eval("Template_UpdateTime")%></td>
                  <td nowrap="nowrap" align="left"><%# ValidCreateState(Eval("Template_State").ToString())%></td>
                  <td nowrap="nowrap" align="center">
                   <asp:LinkButton ID="LinkUpdate" runat="server" CommandName="Create" CommandArgument='<%# Eval("Template_Directory")%>'>部分生成</asp:LinkButton>&nbsp;|
                   <asp:LinkButton ID="LinkUpdateAll" runat="server" CommandName="CreateAll" CommandArgument='<%# Eval("Template_Directory")%>'>全部生成</asp:LinkButton> |&nbsp;
                   <asp:LinkButton ID="ChangeCode" runat="server" CommandName="ChangeWebCode" CommandArgument='<%# Eval("Template_Directory")%>'>统一编码</asp:LinkButton> |&nbsp;
                   <asp:LinkButton ID="linkbtndel" runat="server" CommandName="Delecte" OnClientClick="return confirm('您确认要删除此数据吗？');" CommandArgument='<%# Eval("Template_Id")%>'>删除</asp:LinkButton>
                  </td>
                </tr>
              </ItemTemplate>
              <AlternatingItemTemplate>
                 <tr onmouseover="setbg2(this)" onmouseout="setbg1(this)">
                  <td nowrap="nowrap" align="left"><asp:Label ID="LabTempName" Visible="false" runat="server" Text='<%#Eval("Template_Name")%>'></asp:Label><a href="FileList.aspx?Path=<%# ValidTempFilePath(Eval("Template_Directory").ToString())%>"><%#Eval("Template_Name")%></a></td>
                  <td nowrap="nowrap" align="left"><%#Eval("Template_Author")%></td>
                  <td nowrap="nowrap" align="left"><%#Eval("Template_CreateTime")%></td>
                  <td nowrap="nowrap" align="left"><%#Eval("Template_UpdateTime")%></td>
                  <td nowrap="nowrap" align="left"><%# ValidCreateState(Eval("Template_State").ToString())%></td>
                  <td nowrap="nowrap" align="center">
                   <asp:LinkButton ID="LinkUpdate" runat="server" CommandName="Create" CommandArgument='<%# Eval("Template_Directory")%>'>部分生成</asp:LinkButton>&nbsp;|
                   <asp:LinkButton ID="LinkUpdateAll" runat="server" CommandName="CreateAll" CommandArgument='<%# Eval("Template_Directory")%>'>全部生成</asp:LinkButton> |&nbsp;
                   <asp:LinkButton ID="ChangeCode" runat="server" CommandName="ChangeWebCode" CommandArgument='<%# Eval("Template_Directory")%>'>统一编码</asp:LinkButton> |&nbsp;
                   <asp:LinkButton ID="linkbtndel" runat="server" CommandName="Delecte" OnClientClick="return confirm('您确认要删除此数据吗？');" CommandArgument='<%# Eval("Template_Id")%>'>删除</asp:LinkButton>
                  </td>
            </tr>   
              </AlternatingItemTemplate>
            </asp:Repeater>
          </table>
            <br />
        </div>
      </div>
    </div>
    </div>
    </form>
</body>
</html>
